import 'package:flutter_audit_app/res/strings.dart';
import 'package:flutter_audit_app/routes/router_path.dart';

class HomeGridItem {
  final String title;
  final String imgPath;
  final String route;
  int index;

  HomeGridItem({this.title, this.imgPath, this.route, this.index = 0});
}

List<HomeGridItem> homeItemList = [
  HomeGridItem(
    title: Strings.piqTxt,
    imgPath: 'assets/images/home_item1.png',
    route: RouterPath.personInfoRoute,
    index: 0,
  ),
  HomeGridItem(
    title: '医疗机构\n信息查询',
    imgPath: 'assets/images/home_item2.png',
    route: RouterPath.medicalInstitutionRoute,
    index: 1,
  ),
  HomeGridItem(
    title: '定点零售药\n店信息查询',
    imgPath: 'assets/images/home_item3.png',
    route: RouterPath.fixedPharmacyRoute,
    index: 2,
  ),
  HomeGridItem(
    title: '进销存系统',
    imgPath: 'assets/images/home_item4.png',
    route: RouterPath.stockSystemRoute,
    index: 3,
  ),
  HomeGridItem(
    title: '三目数据\n库查询',
    imgPath: 'assets/images/home_item5.png',
    route: RouterPath.threeDatabaseRoute,
    index: 4,
  ),
  HomeGridItem(
    title: '照护医疗\n机构查询',
    imgPath: 'assets/images/home_item6.png',
    route: RouterPath.careMedicalInstitutionRoute,
    index: 5,
  ),
  HomeGridItem(
    title: '地图查询',
    imgPath: 'assets/images/home_item7.png',
    route: RouterPath.mapRoute,
    index: 6,
  ),
  HomeGridItem(
    title: '移动稽核管理',
    imgPath: 'assets/images/home_item8.png',
    route: RouterPath.auditRoute,
    index: 7,
  )
];
